/* Sidebar.module.css */
.sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  background-color: #fff;
  position: relative;
  transition: all 0.3s ease;
  z-index: 1;

  .iconImg {
    position: absolute;
    left: 20px;
    top: 26px;
    width: 16px;
    height: 16px;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .iconShifted {
    left: 240px;
    z-index: 10;
  }

  .content {
    display: flex;
    flex-direction: column;
    border: 1px solid #e4e4e4;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;

    .addIcon {
      position: absolute;
      top: 24px;
      right: 20px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
    }
  }
  :global {
    .ant-menu-item {
      margin: 0 8px 8px;
      width: calc(100% - 16px);
    }
    .ant-menu-submenu-popup {
      display: none !important;
    }
  }
}

.title {
  color: #4b5563;
  font-size: 18px;
  font-weight: bold;
  padding: 20px 0 20px 32px;
  text-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
  margin-bottom: 20px;
}

.icon {
  width: 20px;
  height: 20px;
}

:global {
  .ant-menu-submenu-popup {
    display: none !important;
  }
}
